CXX = g++
CFLAGS = -Wall -g -std=c++11
.PHONY: run testLeak clean report
test: main.cpp
	$(CXX) $(CFLAGS) -o test main.cpp
run: test
	./test
testLeak: test
	valgrind ./test
report:
	pandoc --pdf-engine=xelatex -V mainfont='Noto Sans CJK JP' report.md -o report2.pdf
clean:
	rm test